package net.maku.project.convert;

import net.maku.project.entity.StepDetailEntity;
import net.maku.project.vo.StepDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @FileName: StepDetailConvert
 * @Project: maku-boot-zzhl
 * @Package: net.maku.project.convert
 * @Author: Aili
 * @Date: 2024/7/23 1:48
 * @Version: 1.0.0
 * @Description: StepDetailConvert Description
 */
@Mapper
public interface StepDetailConvert {
    StepDetailConvert INSTANCE = Mappers.getMapper(StepDetailConvert.class);

    StepDetailEntity convert(StepDetailVO vo);

    StepDetailVO convert(StepDetailEntity entity);

    List<StepDetailVO> convertList(List<StepDetailEntity> list);
}
